<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
//首页数据统计
class GroupList extends Model
{
    protected $table = 'group_list';

    protected $guarded = [];
    
    function getInNumsAttribute(){
        $nums = GroupListLog::where('gid',$this->id)->where('curcle',$this->curcle)->count();
        return $nums;
    }

   
}